package com.springboot.config;

import org.springframework.context.annotation.Conditional;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.ImportResource;

/**
 * @Description:
 * @Author: 张锦波
 * @Date: 2024/8/4 17:04
 * @Version: 1.0
 */

/**
 * @ImportResource(locations = "classpath:beans.xml") 表示
 * 向BeanConfig3配置类导入beans.xml ，就可以将beans.xml里面的bean对象注入
 * 到ioc容器中。【就可以理解成springboot对spring容器文件的兼容】
 */
@ImportResource(locations = "classpath:beans.xml")
@Configuration
public class BeanConfig3 {
}
